<?php
namespace app\api\controller;
use app\BaseController;
use think\Db;

use think\Log;
use app\service\wotuService;

use app\service\apixcxService;
class Door extends BaseController{
    public function test(){
        $api=new wotuService();
        $res=$api->token();
        var_dump($res);exit;
    }
	public function open(){
	    
        $api=new wotuService();
        $guid="A1DE2E8CAFB2492FB7349A91577CE1F";
        $res=$api->interactive("84E0F424FD2207B2","1",$guid);
        var_dump($res);exit;
        $res=$api->token();
        echo "<pre>";
        var_dump($res);


	}

	
}